[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FRESHLINE

 Function
  Move the cursor to a fresh line for output if the cursor is not in
  column 1.

 Syntax
  FRESHLINE   No arguments are required

 Remarks
  Often while displaying information to the screen you will print a
  certain amount then want to make sure you are on a clean line before
  continuing.  This statement checks to see if you are in column 1 of the
  current line.  If you are, it assumes you are on a clean line and does
  nothing.  Otherwise, it calls the NEWLINE statement for you
  automatically.

 Examples
  INTEGER i, end
  LET end = RANDOM(20)
  FOR i = 1 TO end
   PRINT RIGHT(RANDOM(10000),8)
  NEXT
  FRESHLINE
  PRINTLN "Now we continue . . ."

See Also: NEWLINE NEWLINES
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson